package com.imooc.repository;

import com.imooc.domain.SellerInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Create By Liuqz
 * @date 2018/6/9 14:26
 */
public interface SellerInfoRepository extends JpaRepository<SellerInfo,String> {

    /** 根据opneid查询卖家信息 */
    SellerInfo findByOpenid(String openId);
}
